gdk/gdkglcontext.c: Avoid a GCCism
authorChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 26 Apr 2016 12:29:23 +0000 (20:29 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 26 Apr 2016 12:29:23 +0000 (20:29 +0800)
commit7700243bd49278692c8218fdf8358169672d7a13
treee0d92b15499b09ead6b1302fd4796ad232ef4e09
parent71bb1bebc0174f95f2cafd632ec3c5a91e996d20
gdk/gdkglcontext.c: Avoid a GCCism

Pointer arithmetic on GLvoid* (a void*) is a GCCism, so cast it to an
unsigned char*, which is the type cairo_image_surface_get_data() returns.
gdk/gdkglcontext.c